package archer.framework.utils;

import jodd.bean.BeanCopy;
import jodd.bean.BeanUtil;

/**
 * @author christ
 * @date 2016/9/30
 */
public class BeanUtils {

    public static BeanUtil pojo = BeanUtil.pojo;

    public static BeanUtil declared = BeanUtil.declared;

    /**
     * bean copy
     *
     * @param src
     * @param target
     */
    public static void copy(Object src, Object target) {

        BeanCopy.from(src).to(target).copy();
    }
}
